package PageBean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageBean<Brand> {
        private int currentPage;
        private int pageSize;
        private int totalPage;
        private int totalCount;
        private List<Brand> data; //T可以变成任意的类型
}
